package com.example.demoweb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.example.demoweb.entity.Student;
import org.apache.ibatis.annotations.Param;

/**
 * Created by ChristChild on 2017/9/24.
 */
@Mapper
public interface StudentDao {
    public Student getStudentById(@Param("id") int id);

	public void insert(Student student);

	public List<Student> getList();

	public void insertBatch(List<Student> list);
}
